import clueRoutes from './clue'

const _import = require('../utils/view-import/' + process.env.NODE_ENV)

export default {
  routes: [
    ...clueRoutes,
    {
      path: '/',
      redirect: '/clue/index'
    },
    {
      path: '/login',
      component: _import('login')
    },
    {
      path: '*',
      component: _import('404')
    },
    {
      path: '/customForm',
      name: '自定义表单预览页',
      component: _import('form/customForm')
    }
  ]
}
